package com.ykdl.member.kid.beans;

import java.io.Serializable;
import java.util.List;

import com.google.gson.Gson;
import com.google.gson.GsonBuilder;

import android.text.TextUtils;

import net.wxxr.http.interfaces.IJsonParser;

public class FeedReportListDayBean implements IJsonParser, Serializable {

	private static final long serialVersionUID = 1L;
	private List<FeedReportDayBean> list;
	private int next_cursor;
	private int previous_cursor;
	private int total_number;
	
	public List<FeedReportDayBean> getList() {
		return list;
	}

	public void setList(List<FeedReportDayBean> list) {
		this.list = list;
	}

	public int getNext_cursor() {
		return next_cursor;
	}

	public void setNext_cursor(int next_cursor) {
		this.next_cursor = next_cursor;
	}

	public int getPrevious_cursor() {
		return previous_cursor;
	}

	public void setPrevious_cursor(int previous_cursor) {
		this.previous_cursor = previous_cursor;
	}

	public int getTotal_number() {
		return total_number;
	}

	public void setTotal_number(int total_number) {
		this.total_number = total_number;
	}

	@Override
	public IJsonParser parse(String json) throws Exception {
		if (!TextUtils.isEmpty(json)) {
			GsonBuilder builder = new GsonBuilder();
			Gson gson = builder.create();
			return gson.fromJson(json, FeedReportListDayBean.class);
		}
		return null;
	}

}
